<template>
	<view>
		<u-navbar :title="title">
		</u-navbar>
		<web-view style="margin-top: 100rpx;background-color: #ffffff;" :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url:'',
				title:'',
			}
		},
		onUnload() {
			uni.$off('go_h5')
		}, 
		onLoad() {
			uni.$on('go_h5',(data) => {
				this.url = data.url;
				console.log(this.url,"url");
			});
		},
		methods: {
			
		}
	}
</script>

<style>
	
</style>
